package com.webcat.service;

import org.springframework.ai.document.Document;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

public interface RagService {

    void loadDocument();

    void loadDocument(List<MultipartFile> files);

    void loadDocument(InputStream inputStream);

    void loadDocument(String text);

    List<Document> query(String text);


}
